package com.scm.dao;

import com.scm.entity.Poitem;
import com.scm.entity.Pomain;
import com.scm.entity.Product;
import com.scm.entity.Soitem;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author CHL
 * @ClassName: CustomerMapper
 * @Description: TODO
 * @date 2022/3/8 14:39
 * @Version 1.0
 */
public interface ProductMapper {

    public abstract void insert(Pomain paramPomain);

    public abstract int deleteByPoId(Long paramLong);

    public abstract int updateSoNum(Map map);

    public abstract List<Pomain> selectCondition(Map paramMap);

    public abstract List<Pomain> selectPomain(Map paramMap);

    public abstract Pomain selectByPoId(Long paramLong);

    public abstract int instock(List<Poitem> list);

    public abstract int pay(Map paramMap);

    public abstract int prepay(Map paramMap);

    public abstract int end(Map paramMap);

    public abstract HashMap<String, Object> report(String paramString);

    void addProduct(Product product);

    int deleteProduct(String productCode);

    List<Product> select(Product product);

    int updateProduct(Product product);

    int outstock(List<Soitem> soitems);

    void check(HashMap<String, Object> m);

    List selectStock(HashMap<String, Object> m);

    HashMap<String, Object> selectTotalNum(String time);

    int updatePoNum(HashMap<String, Object> map);
}
